package com.ruoyi.LostDevices.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;  import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * 遗失物品对象 lost_devices
 * 
 * @author ruoyi
 * @date 2025-03-19
 */
@Data  @NoArgsConstructor
@AllArgsConstructor
public class LostDevices extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备唯一标识 */
    private Long id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String picPath;

    /** 遗失位置 */
    @Excel(name = "遗失位置")
    private String lostLocation;

    /** 设备处理状态 */
    @Excel(name = "设备处理状态")
    private String status;

    /** 上报人 */
    @Excel(name = "上报人")
    private String reporter;

    /** 上报时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上报时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /** 处理人 */
    @Excel(name = "处理人")
    private String resolveBy;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }

    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }

    public void setPicPath(String picPath) 
    {
        this.picPath = picPath;
    }

    public String getPicPath() 
    {
        return picPath;
    }

    public void setLostLocation(String lostLocation) 
    {
        this.lostLocation = lostLocation;
    }

    public String getLostLocation() 
    {
        return lostLocation;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setReporter(String reporter) 
    {
        this.reporter = reporter;
    }

    public String getReporter() 
    {
        return reporter;
    }

    public void setReportTime(Date reportTime) 
    {
        this.reportTime = reportTime;
    }

    public Date getReportTime() 
    {
        return reportTime;
    }

    public void setResolveBy(String resolveBy) 
    {
        this.resolveBy = resolveBy;
    }

    public String getResolveBy() 
    {
        return resolveBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("deviceName", getDeviceName())
            .append("picPath", getPicPath())
            .append("lostLocation", getLostLocation())
            .append("status", getStatus())
            .append("reporter", getReporter())
            .append("reportTime", getReportTime())
            .append("resolveBy", getResolveBy())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .toString();
    }
}
